<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html>
<html>
<head>
<title>注册</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">

<script type="application/x-javascript"> addEventListener("load", function() { setTimeout(hideURLbar, 0); }, false); function hideURLbar(){ window.scrollTo(0,1); } </script>
<link rel="stylesheet" href="<c:url value="/css/index.css"/>" type="text/css" media="all">
</head>
<body>
	<h1>注&nbsp;&nbsp;册</h1>
	<div class="container">
		<div class="login" >
		<div class="clear"></div>
			<form action='<c:url value="submitRegister"/>' method="post">
				<input type="text" Name="name" placeholder="用户名" required="required">
				<input type="text" Name="password" placeholder="密码" required="required">
				<input type="password" Name="phone" placeholder="手机号" required="required">
				<input type="text" Name="idcard" placeholder="身份证号" required="required">
				<div class="clear"></div>
				<div class="msg" style="color: red;">
				${msg}<br>
				</div>
				<div class="send-button" style="margin-top: 30px;">
					<input type="submit" value="注册">
				</div>
			</form>
			<div class="tran">
				<div class="to_login">
					<a href="<c:url value="index"/>" style="color: white;">去登录</a>
				</div>
			</div>
			
		</div>

		<div class="clear"></div>

	</div>


</body>
</html>